package com.zx.crowdfunding.entity;

public class Operation {
    private Integer id;

    private Integer pid;

    private String name;

    private String code;

    private String url;

    private String icon;

    private String css;

    private Integer orderNum;

    public Operation() {
	}

	public Operation(Integer id, Integer pid, String name, String code,
			String url, String icon, String css, Integer orderNum) {
		super();
		this.id = id;
		this.pid = pid;
		this.name = name;
		this.code = code;
		this.url = url;
		this.icon = icon;
		this.css = css;
		this.orderNum = orderNum;
	}

	@Override
	public String toString() {
		return "Operation [id=" + id + ", pid=" + pid + ", name=" + name
				+ ", code=" + code + ", url=" + url + ", icon=" + icon
				+ ", css=" + css + ", orderNum=" + orderNum + "]";
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon == null ? null : icon.trim();
    }

    public String getCss() {
        return css;
    }

    public void setCss(String css) {
        this.css = css == null ? null : css.trim();
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }
}